package com.yj.ccs.abs.web.management.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/14
 * Author     : Unbelievable9
 **/
@ApiModel
@Data
public class AccountPasswordDto {

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID", required = true, example = "1")
    private Long id;

    @NotNull(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码", required = true, example = "00000000")
    private String password;
}
